package com.conph.moring.core;

import java.lang.reflect.Method;

/**
 * 带参的Bean注解方法的POJO
 */
public class BeanMethodDefination {
	private Method method;
	private Class<?> returnType;
	private Class<?>[] parametersClass;
	private Object object;
	private String beanName;
	
	public BeanMethodDefination() {
	}

	public BeanMethodDefination(Method method, Class<?> returnType, Class<?>[] parametersClass, Object object, String beanName) {
		this.method = method;
		this.returnType = returnType;
		this.parametersClass = parametersClass;
		this.object = object;
		this.beanName = beanName;
		
	}

	protected String getBeanName() {
		return beanName;
	}

	protected Method getMethod() {
		return method;
	}

	protected Class<?> getReturnType() {
		return returnType;
	}

	protected Class<?>[] getParameters() {
		return parametersClass;
	}

	protected Object getObject() {
		return object;
	}
	
}
